package zxd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Created by 张旭东 on 2017/8/15.
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaServiceAppRun {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaServiceAppRun.class).web(true).run(args);
        System.out.println("------------------服务治理中心 启动成功-----------------");
    }
}
